package com.cdgeekcamp.redas.db.model;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface SpiderRepository extends CrudRepository<Spider, Integer> {
    Optional<Spider> findByUuid(String uuid);
    Page<Spider> findAll(Pageable pageable);
}
